package app.decoder;

import java.security.NoSuchAlgorithmException;
import java.util.Scanner;

import util.HashUtil;

public class HashGenerator {
	public static void main(String[] args) throws NoSuchAlgorithmException {
		Scanner scanner = new Scanner(System.in);
		System.out.println("Informe a senha: ");
		String passwordHash = scanner.nextLine();
		scanner.close();
		
		System.out.println("Hash: " + HashUtil.hashSHA1(passwordHash));
	}
}
